package com.itheima.io.file.demo04;

import java.io.File;
import java.io.IOException;

public class FileDemo04 {

    public static void main(String[] args) throws IOException {

        File file = new File("D:\\2019.7.30heima\\就业班\\2019.8.25\\hmjava359\\hmjava359-day10\\itheima-io-file\\src\\com\\itheima\\io\\file\\a.text");
        System.out.println(file.exists());

        File file1 = new File("itheima-io-file\\a.text");
        System.out.println(file1.exists());







    }
}
